Context-sensitive spellchecking for programming languages
نویسندگان
چکیده
Researchers at Arizona State University have developed a text editor that provides special support tools for people who write computer programs in various programming languages. This editor, known as the E editor, has evolved over a number of years and includes many unique features that greatly facilitate the editing of program source files. The latest addition to the E editor is a contextsensitive spellchecker that automatically distinguishes between code and comments in a source program for nearly any programming language. The editor’s context-sensitive spellchecker checks only the comments in a program while ignoring the code, so the programmer doesn’t receive needless and distracting notifications of misspelled “words” that are just variable names or other tokens in the code. The spellchecker also has options that help it ignore variable names and mnemonics even when they appear in the comments.
منابع مشابه
Improving Finite-State Spell-Checker Suggestions with Part of Speech N-Grams
We demonstrate a finite-state implementation of context-aware spell checking utilizing an N-gram based part of speech (POS) tagger to rerank the suggestions from a simple edit-distance based spell-checker. We demonstrate the benefits of context-aware spellchecking for English and Finnish and introduce modifications that are necessary to make traditional N-gram models work for morphologically mo...
متن کاملAn extended spell checker for unknown words
Spell checking is considered a solved problem, but with the rapid development of the natural language processing the new results are slowly extending the means of spell checking towards grammar checking. In this article I review some of the spell checking error classes in a broader sense, the related problems, their state-of-the-art solutions and their different nature on different types of lan...
متن کاملAdvantages of online spellchecking: a Croatian example
Online spellchecking is commonly regarded as an auxiliary way of performing spellchecking. However, it offers a unique opportunity to constantly improve spellchecker linguistic functionality through interaction with the community of spellchecker users. Such a possibility is crucial for spellchecking in non-central and under-resourced languages, in order to overcome gaps in NLP tools between the...
متن کاملTop-Down Parsing with Parsing Contexts A Simple Approach to Context-Sensitive Parsing
The domain of context-free languages has been extensively explored and there exist numerous techniques for parsing (all or a subset of) context-free languages. Unfortunately, some programming languages are not context-free. Using standard context-free parsing techniques to parse a context-sensitive programming language poses a considerable challenge. Implementors of programming language parsers...
متن کاملPhonetic Spelling and Heuristic Search
We introduce a new approach to spellchecking for languages with extreme phonetic irregularities. The spelling for such languages can be significantly improved if knowledge about pronunciation and sound becomes the central part of the spelling algorithm. However, given a weak phoneme-grapheme-correspondence the standard spelling algorithms, which are rule-based or editdistance-based, are severel...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1999